(self, fs_env)
| 75 | ) |
| 76 | |
| 77 | def test_pickleable_syntax_error(self, fs_env): |
| 78 | original = TemplateSyntaxError("bad template", 42, "test", "test.txt") |
| 79 | unpickled = pickle.loads(pickle.dumps(original)) |
| 80 | assert str(original) == str(unpickled) |
| 81 | assert original.name == unpickled.name |
| 82 | |
| 83 | def test_include_syntax_error_source(self, filesystem_loader): |
| 84 | e = Environment( |
nothing calls this directly
no test coverage detected