Closed landmanbester closed 3 years ago
Hmmm, strange. I'm not sure what the errors mean. @sjperkins do you mind having a look when you have sec? (not urgent)
The packratt errors? Probably needs a:
packratt.get('...', str(path))
It would be nice if packratt dealt with this under the hood
Ok, let me try that. Why would it run through locally but not on CI?
There is something strange going on here. If I run pytest on test_residual.py by itself it passes. Run the full test suite though and it fails with
E yaml.representer.RepresenterError: ('cannot represent an object', PosixPath('/home/landman/.cache/packratt/7b/90/e0/88aeb60187532f6bfa1a08410d022ceed71dcaeb097bd611c8'))
../../venvs/pfbenv/lib/python3.6/site-packages/yaml/representer.py:231: RepresenterError
Also, I have three tests using packratt with exactly the same syntax, two of them run through locally. Let's see what happens on CI with str(test_dir)
Introduces the following changes: