[pypy-svn] r49416 - pypy/branch/pypy-interp-file/module/_file/test

arigo at codespeak.net arigo at codespeak.net
Wed Dec 5 20:32:43 CET 2007


Author: arigo
Date: Wed Dec  5 20:32:42 2007
New Revision: 49416

Modified:
   pypy/branch/pypy-interp-file/module/_file/test/test_file_extra.py
Log:
The bug was in the test.


Modified: pypy/branch/pypy-interp-file/module/_file/test/test_file_extra.py
==============================================================================
--- pypy/branch/pypy-interp-file/module/_file/test/test_file_extra.py	(original)
+++ pypy/branch/pypy-interp-file/module/_file/test/test_file_extra.py	Wed Dec  5 20:32:42 2007
@@ -214,7 +214,7 @@
             space.wrap(self.expected_filename),
             space.wrap(self.expected_mode),
             *[space.wrap(a) for a in self.extra_args])
-        self.w_sample = space.wrap(SAMPLE)
+        self.w_sample = space.wrap(self.sample)
         self.w_expected_filename = space.wrap(self.expected_filename)
         self.w_expected_mode = space.wrap(self.expected_mode)
         self.w_expected_lines = space.wrap(self.get_expected_lines())
@@ -272,7 +272,7 @@
             space.wrap(fd),
             space.wrap(self.expected_mode),
             *[space.wrap(a) for a in self.extra_args])
-        self.w_sample = space.wrap(SAMPLE)
+        self.w_sample = space.wrap(self.sample)
         self.w_expected_filename = space.wrap(self.expected_filename)
         self.w_expected_mode = space.wrap(self.expected_mode)
         self.w_expected_lines = space.wrap(self.get_expected_lines())



More information about the Pypy-commit mailing list