def _no_tests(self, r=1):
        print()
        print("Looked for tests at:")
        for d in self.try_dirs:
            print(d % '- %s')
        print()
        print("If you don't want to write your own tests, pyfrc comes with generic tests")
        print("that can test basic functionality of most robots. You can run them by")
        print("specifying the --builtin option.")
        print()
        
        if not sys.stdin.isatty():
            print("Alternatively, to create a tests directory with the builtin tests, you can run:")
            print()
            print("    python3 robot.py add-tests")
            print()
        else:
            if yesno("Create a tests directory with builtin tests now?"):
                from .cli_add_tests import PyFrcAddTests
                add_tests = PyFrcAddTests()
                add_tests.run(None, self.robot_class)
                
                raise _TryAgain()
            
        return r
dataset/ETHPy150Open robotpy/pyfrc/lib/pyfrc/mains/cli_test.py/PyFrcTest._no_tests/swapped operands of `%`