qutebrowser/tests/end2end/fixtures
Florian Bruhin aa5da1b312 Don't set up YAML constructors/resolvers for default loaders
After reading https://pyyaml.org/wiki/PyYAMLDocumentation again, turns out
Loader.add_constructor and .add_implicit_resolver are actually *class* methods.

In other words, we've been adding dozens of constructors/resolvers to the
default YAML loader object, causing it to slow down massively in other tests
which call configdata.init().

Instead, create our own loader class and only add them once there.

I'm still not sure why this caused the duration to increase with every YAML load
though - that might still be some kind of bug in PyYAML.

Fixes #2777
2018-02-10 19:35:03 +01:00
..
quteprocess.py Don't set up YAML constructors/resolvers for default loaders 2018-02-10 19:35:03 +01:00
test_quteprocess.py Update copyright years 2018-02-05 12:19:50 +01:00
test_testprocess.py Update copyright years 2018-02-05 12:19:50 +01:00
test_webserver.py Update copyright years 2018-02-05 12:19:50 +01:00
testprocess.py Update copyright years 2018-02-05 12:19:50 +01:00
webserver_sub_ssl.py Update copyright years 2018-02-05 12:19:50 +01:00
webserver_sub.py Update copyright years 2018-02-05 12:19:50 +01:00
webserver.py Update copyright years 2018-02-05 12:19:50 +01:00