wpt.py 321 B

1234567
  1. # This file exists to allow `python wpt <command>` to work on Windows:
  2. # https://github.com/web-platform-tests/wpt/pull/6907 and
  3. # https://github.com/web-platform-tests/wpt/issues/23095
  4. import os
  5. abspath = os.path.abspath(__file__)
  6. os.chdir(os.path.dirname(abspath))
  7. exec(compile(open("wpt", "r").read(), "wpt", 'exec'))