execute: how: tmt discover: how: shell dist-git-source: true tests: - name: bundled tests require: - python3.12-ply test: | cd $(dirname $TMT_SOURCE_DIR/ply-*/test) && rm -rf ply* && cd test && sed -i "s/self.assert_(/self.assertTrue(/" testlex.py && sed -i "s/self.assert_(/self.assertTrue(/" testyacc.py && sed -i "s/from six.moves.queue import Empty/from queue import Empty/" testcpp.py && python3.12 testlex.py && python3.12 testyacc.py && python3.12 testcpp.py