Commits

Anonymous committed f8ece8c

#11873: fix test regex so it covers windows os.sep as well.

  • Participants
  • Parent commits 3f30cfe
  • Branches 3.2

Comments (0)

Files changed (1)

File Lib/test/test_compileall.py

         self.assertEqual(b'', quiet)
 
     def test_regexp(self):
-        self.assertRunOK('-q', '-x', 'ba[^\/]*$', self.pkgdir)
+        self.assertRunOK('-q', '-x', r'ba[^\/]*$', self.pkgdir)
         self.assertNotCompiled(self.barfn)
         self.assertCompiled(self.initfn)