File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -162,25 +162,25 @@ We use [pytest](https://pytest.org/) to run the tests.
162
162
163
163
### Run a test file
164
164
165
- To run the tests in ` keras/losses/losses_test.py ` , use the following command
165
+ To run the tests in ` keras/src/ losses/losses_test.py ` , use the following command
166
166
at the root directory of the repo.
167
167
168
168
``` shell
169
- pytest keras/losses/losses_test.py
169
+ pytest keras/src/ losses/losses_test.py
170
170
```
171
171
172
172
### Run a single test case
173
173
174
174
You can specify a single test class to run within a file.
175
175
176
176
``` shell
177
- pytest keras/losses/losses_test.py::MeanSquaredErrorTest
177
+ pytest keras/src/ losses/losses_test.py::MeanSquaredErrorTest
178
178
```
179
179
180
180
You can also specify a single test method to run within a class.
181
181
182
182
``` shell
183
- pytest keras/losses/losses_test.py::MeanSquaredErrorTest::test_sample_weighted
183
+ pytest keras/src/ losses/losses_test.py::MeanSquaredErrorTest::test_sample_weighted
184
184
```
185
185
186
186
### Run all tests
You can’t perform that action at this time.
0 commit comments