Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 109 for test_fail (0.28 sec)

  1. docs/de/docs/tutorial/testing.md

    ```Python
    {!../../../docs_src/app_testing/main.py!}
    ```
    
    ### Testdatei
    
    Dann könnten Sie eine Datei `test_main.py` mit Ihren Tests haben. Sie könnte sich im selben Python-Package befinden (dasselbe Verzeichnis mit einer `__init__.py`-Datei):
    
    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:20:01 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_test_util.h

      explicit SP_Event_st(int id) : event_id(id) {}
      int event_id;
    };
    
    struct SP_Timer_st {
      explicit SP_Timer_st(int id) : timer_id(id) {}
      int timer_id;
    };
    
    namespace stream_executor {
    namespace test_util {
    
    constexpr int kDeviceCount = 2;
    constexpr char kDeviceName[] = "MY_DEVICE";
    constexpr char kDeviceType[] = "GPU";
    
    void PopulateDefaultStreamExecutor(SP_StreamExecutor* se);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 17 01:32:30 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/AbstractPublishArtifactTest.groovy

        private static final File TEST_FILE = new File("artifactFile");
        private static final String TEST_NAME = "myfile-1";
        private static final String TEST_EXT = "ext";
        private static final String TEST_TYPE = "type";
        private static final String TEST_CLASSIFIER = "classifier";
        private static final Date TEST_DATE = new Date();
    
        protected File getTestFile() {
            TEST_FILE
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 11:02:13 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/python/test_utils.py

    from tensorflow.python.framework import test_util
    from tensorflow.python.platform import test
    
    
    class OpsDefsTest(test.TestCase):
      """Test utils."""
    
      def _assertOpAndComposite(self, vars_, compute_op, compute_composite, kwargs,
                                op_kwargs=None):
        if op_kwargs is None:
          op_kwargs = kwargs
        if test_util.IsMklEnabled():
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 02 18:32:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy

    import spock.lang.Issue
    
    import static org.junit.Assert.assertEquals
    import static org.junit.Assert.assertTrue
    
    class CacheProjectIntegrationTest extends AbstractIntegrationTest {
        static final String TEST_FILE = "build/test.txt"
    
        @Rule
        public final HttpServer server = new HttpServer()
    
        TestFile projectDir
        TestFile userHomeDir
        TestFile buildFile
        TestFile classPathClassesDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/runtime/race/output_test.go

    	{"test_fails_on_race", "test", "", "atexit_sleep_ms=0", `
    package main_test
    import "testing"
    func TestFail(t *testing.T) {
    	done := make(chan bool)
    	x := 0
    	_ = x
    	go func() {
    		x = 42
    		done <- true
    	}()
    	x = 43
    	<-done
    	t.Log(t.Failed())
    }
    `, []string{`
    ==================
    --- FAIL: TestFail \([0-9.]+s\)
    .*testing.go:.*: race detected during execution of test
    .*main_test.go:14: true
    FAIL`}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_testing/test_tutorial002.py

    from docs_src.app_testing.tutorial002 import test_read_main, test_websocket
    
    
    def test_main():
        test_read_main()
    
    
    def test_ws():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 10 09:08:19 UTC 2020
    - 154 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

    from tensorflow.python.eager import def_function
    from tensorflow.python.framework import dtypes
    from tensorflow.python.framework import ops
    from tensorflow.python.framework import tensor_spec
    from tensorflow.python.framework import test_util
    from tensorflow.python.module import module
    from tensorflow.python.ops import math_ops
    from tensorflow.python.ops import nn_ops
    from tensorflow.python.platform import test
    from tensorflow.python.saved_model import load
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_testing/test_tutorial003.py

    import pytest
    
    
    def test_main():
        with pytest.warns(DeprecationWarning):
            from docs_src.app_testing.tutorial003 import test_read_items
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 167 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/fake_session.h

    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/public/session.h"
    
    namespace mlir {
    namespace TF {
    namespace test_util {
    // FakeSession is for testing only.
    class FakeSession : public tensorflow::Session {
     public:
      FakeSession();
    
      ::tensorflow::Status Create(const tensorflow::GraphDef& graph) override;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top