Commits

Anonymous committed 6fdb1f0

#11873: another try at fixing the regex, courtesy of Victor Stinner

  • Participants
  • Parent commits f8ece8c
  • 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', r'ba[^\/]*$', self.pkgdir)
+        self.assertRunOK('-q', '-x', r'ba[^\\/]*$', self.pkgdir)
         self.assertNotCompiled(self.barfn)
         self.assertCompiled(self.initfn)