depot/third_party/nixpkgs/pkgs/development/python-modules/pyramid-chameleon/test-renderers-pyramid-import.patch
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

11 lines
492 B
Diff

--- a/pyramid_chameleon/tests/test_renderers.py
+++ b/pyramid_chameleon/tests/test_renderers.py
@@ -258,7 +258,7 @@ class TestChameleonRendererLookup(unittest.TestCase):
self.assertRaises(ValueError, lookup.__call__, info)
def test___call__spec_alreadyregistered(self):
- from pyramid import tests
+ from pyramid_chameleon import tests
module_name = tests.__name__
relpath = 'test_renderers.py'
spec = '%s:%s' % (module_name, relpath)