﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31736	PostgreSQL InspectDB tests due to assuming it only runs on Linux	Ahmad A. Hussein	nobody	"On Windows, ```inspectdb..tests.InspectDBTransactionalTests.test_foreign_data_wrapper``` fails with the following error:

```
The error was: could not open file ""/dev/null"" for reading: No such file or directory
HINT:  COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql's \copy.

AssertionError: 'class InspectdbIrisForeignTable(models.Model):' not found in [...]
```
This is because of the way the test is written as [pointed out by](https://github.com/django/django/pull/12646#issuecomment-647944821). Patch fixes this by generalizing the test to use os.devnull to be OS-agnostic instead of /dev/null always."	Bug	assigned	Testing framework	dev	Normal		postgresql, inspectdb		Unreviewed	1	0	0	0	0	0
