mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-14 00:51:59 -05:00
Python 3 fix for the template loader test.
This commit is contained in:
1 parent
c6b67fc66a
commit
2e5771e164
1 file changed
+2
-1
@@ -47,9 +47,10 @@ class TestVersionedTemplateLoader(BaseTestGenerator):
|
||||
try:
|
||||
self.loader.get_source(None, "some_feature/sql/#10100#/some_action.sql")
|
||||
self.fail("No exception raised")
|
||||
except TemplateNotFound, e:
|
||||
except TemplateNotFound:
|
||||
return
|
||||
|
||||
|
||||
class FakeApp(Flask):
|
||||
def __init__(self):
|
||||
super(FakeApp, self).__init__("")
|
||||
|
||||
Reference in new issue
Block a user