]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/t/tindex.py
Move vfs resolve() tests to tresolve.py
[bup.git] / lib / bup / t / tindex.py
index 15be26627776598b02d763a85da2a91a5c666202..0314e183062208de1e6619a67b64bdab7abd4bce 100644 (file)
@@ -72,7 +72,7 @@ def index_negative_timestamps():
         with test_tempdir('bup-tindex-') as tmpdir:
             # Makes 'foo' exist
             foopath = tmpdir + '/foo'
-            f = file(foopath, 'wb')
+            f = open(foopath, 'wb')
             f.close()
 
             # Dec 31, 1969