Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sets (0.12 sec)

  1. tests/test_dependency_normal_exceptions.py

    def reset_state_and_db():
        global fake_database
        global state
        fake_database = initial_fake_database.copy()
        state = initial_state.copy()
    
    
    client = TestClient(app)
    
    
    def test_dependency_gets_exception():
        assert state["except"] is False
        assert state["finally"] is False
        response = client.put("/invalid-user/rick", json="Morty")
        assert response.status_code == 400, response.text
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. configure.py

          clang_version = retrieve_clang_version(clang_cuda_compiler_path)
          disable_clang_offsetof_extension(clang_version)
        else:
          # Set up which gcc nvcc should use as the host compiler
          # No need to set this on Windows
          if not is_windows():
            set_gcc_host_compiler_path(environ_cp)
        set_other_cuda_vars(environ_cp)
      else:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
Back to top