Revision: 200ef45b0762
Author:   Pekka Klärck
Date:     Thu Dec 22 03:22:29 2011
Log: removed test that requires long sleep not to be flakey and tests something that is tested implicitely otherwise
http://code.google.com/p/robotframework/source/detail?r=200ef45b0762

Modified:
 /utest/utils/test_importer_util.py

=======================================
--- /utest/utils/test_importer_util.py  Thu Dec 22 02:31:46 2011
+++ /utest/utils/test_importer_util.py  Thu Dec 22 03:22:29 2011
@@ -44,14 +44,6 @@
         path3 = self._create_file(join(path2, 'test.py'), attr=3)
         self._import_and_verify(path3, attr=3, directory=path2)

-    def test_importing_same_file_reloads_module(self):
-        path = self._create_file('test.py', attr=1)
-        self._import_and_verify(path, attr=1)
-        # apparently old pyc file is read if file is recreated immediately
-        import time; time.sleep(0.5)
-        path = self._create_file('test.py', attr=2)
-        self._import_and_verify(path, attr=2)
-
     def test_invalid_python_file(self):
path = self._create_file('test.py', extra_content='invalid content')
         err = assert_raises(DataError, self._import_and_verify, path)

Reply via email to